import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/api/@ohos.contact.d.ts',
  content: "/*\n * Copyright (C) 2021-2023 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n/**\n * @file\n * @kit ContactsKit\n */\nimport { AsyncCallback } from './@ohos.base';\nimport type Context from './application/BaseContext';\nimport { ValueType } from './@ohos.data.ValuesBucket';\n/**\n * Contains variety of system contact, provides functions for adding, updating and deleting these system contact\n * and provides methods for querying the information of contact.\n *\n * @namespace contact\n * @syscap SystemCapability.Applications.ContactsData\n * @since 7\n */\n/**\n * Contains variety of system contact, provides functions for adding, updating and deleting these system contact\n * and provides methods for querying the information of contact.\n *\n * @namespace contact\n * @syscap SystemCapability.Applications.ContactsData\n * @atomicservice\n * @since 11\n */\ndeclare namespace contact {\n    /**\n     * Creates a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Contact } contact - Indicates the contact information.\n     * @param { AsyncCallback<number> } callback - Returns the contact ID (which can be obtained\n     * by {@link Contact#getId()}) if the creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the\n     * creation fails.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.addContact#addContact\n     */\n    function addContact(contact: Contact, callback: AsyncCallback<number>): void;\n    /**\n     * Creates a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact information.\n     * @param { AsyncCallback<number> } callback - Returns the contact ID (which can be obtained\n     * by {@link Contact#getId()}) if the creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the\n     * creation fails.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    /**\n     * Creates a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact information.\n     * @param { AsyncCallback<number> } callback - Returns the contact ID (which can be obtained\n     * by {@link Contact#getId()}) if the creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the\n     * creation fails.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 12\n     */\n    function addContact(context: Context, contact: Contact, callback: AsyncCallback<number>): void;\n    /**\n     * Creates a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Contact } contact - Indicates the contact information.\n     * @returns { Promise<number> } Returns the contact ID (which can be obtained by {@link Contact#getId()}) if the\n     * creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the creation fails.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.addContact#addContact\n     */\n    function addContact(contact: Contact): Promise<number>;\n    /**\n     * Creates a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact information.\n     * @returns { Promise<number> } Returns the contact ID (which can be obtained by {@link Contact#getId()}) if the\n     * creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the creation fails.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    /**\n     * Creates a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact information.\n     * @returns { Promise<number> } Returns the contact ID (which can be obtained by {@link Contact#getId()}) if the\n     * creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the creation fails.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 12\n     */\n    function addContact(context: Context, contact: Contact): Promise<number>;\n    /**\n     * Select contact.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { AsyncCallback<Array<Contact>> } callback - Indicates the callback for getting the result of the call.\n     * Returns the contact list which user select; returns empty contact list if user not select.\n     * @syscap SystemCapability.Applications.Contacts\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.selectContact#selectContacts\n     */\n    function selectContact(callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Select contact.\n     *\n     * @param { AsyncCallback<Array<Contact>> } callback - Indicates the callback for getting the result of the call.\n     * Returns the contact list which user select; returns empty contact list if user not select.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.Contacts\n     * @since 10\n     */\n    /**\n     * Select contact.\n     *\n     * @param { AsyncCallback<Array<Contact>> } callback - Indicates the callback for getting the result of the call.\n     * Returns the contact list which user select; returns empty contact list if user not select.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 11\n     */\n    function selectContacts(callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Select contact.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @returns { Promise<Array<Contact>> } Returns the contact list which user select;\n     * returns empty contact list if user not select.\n     * @syscap SystemCapability.Applications.Contacts\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.selectContact#selectContacts\n     */\n    function selectContact(): Promise<Array<Contact>>;\n    /**\n     * Select contact.\n     *\n     * @returns { Promise<Array<Contact>> } Returns the contact list which user select;\n     * returns empty contact list if user not select.\n     * @syscap SystemCapability.Applications.Contacts\n     * @since 10\n     */\n    /**\n     * Select contact.\n     *\n     * @returns { Promise<Array<Contact>> } Returns the contact list which user select;\n     * returns empty contact list if user not select.\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 11\n     */\n    function selectContacts(): Promise<Array<Contact>>;\n    /**\n     * Select contact with option.\n     *\n     * @param { ContactSelectionOptions } options - Indicates the Single-select or multiple-select.\n     * @param { AsyncCallback<Array<Contact>> } callback - Indicates the callback for getting the result of the call.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.Contacts\n     * @since 10\n     */\n    /**\n     * Select contact with option.\n     *\n     * @param { ContactSelectionOptions } options - Indicates the Single-select or multiple-select.\n     * @param { AsyncCallback<Array<Contact>> } callback - Indicates the callback for getting the result of the call.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 11\n     */\n    function selectContacts(options: ContactSelectionOptions, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Select contact with option.\n     *\n     * @param { ContactSelectionOptions } options - Indicates the Single-select or multiple-select.\n     * @returns { Promise<Array<Contact>> } Returns the contact list which user select;\n     * returns empty contact list if user not select.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.Contacts\n     * @since 10\n     */\n    /**\n     * Select contact with option.\n     *\n     * @param { ContactSelectionOptions } options - Indicates the Single-select or multiple-select.\n     * @returns { Promise<Array<Contact>> } Returns the contact list which user select;\n     * returns empty contact list if user not select.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 11\n     */\n    function selectContacts(options: ContactSelectionOptions): Promise<Array<Contact>>;\n    /**\n     * Deletes a specified contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { string } key - Indicates the unique query key of a contact to delete.\n     * @param { AsyncCallback<void> } callback - Return the callback function.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.deleteContact#deleteContact\n     */\n    function deleteContact(key: string, callback: AsyncCallback<void>): void;\n    /**\n     * Deletes a specified contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } key - Indicates the unique query key of a contact to delete.\n     * @param { AsyncCallback<void> } callback - Return the callback function.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function deleteContact(context: Context, key: string, callback: AsyncCallback<void>): void;\n    /**\n     * Deletes a specified contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { string } key - Indicates the unique query key of a contact to delete.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.deleteContact#deleteContact\n     */\n    function deleteContact(key: string): Promise<void>;\n    /**\n     * Deletes a specified contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } key - Indicates the unique query key of a contact to delete.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function deleteContact(context: Context, key: string): Promise<void>;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContact#queryContact\n     */\n    function queryContact(key: string, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContact(context: Context, key: string, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContact#queryContact\n     */\n    function queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContact(context: Context, key: string, holder: Holder, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContact#queryContact\n     */\n    function queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContact(context: Context, key: string, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { Holder } holder - Indicates the contact holder.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContact#queryContact\n     */\n    function queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { Holder } holder - Indicates the contact holder.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns the specified contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContact(context: Context, key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { Holder } holder - Indicates the contact holder.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Contact> } Returns the specified contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContact#queryContact\n     */\n    function queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>;\n    /**\n     * Queries a specified contact of specified attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } key - Indicates the unique query key of a contact.\n     * @param { Holder } holder - Indicates the contact holder.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Contact> } Returns the specified contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContact(context: Context, key: string, holder?: Holder, attrs?: ContactAttributes): Promise<Contact>;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContacts#queryContacts\n     */\n    function queryContacts(callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContacts(context: Context, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContacts#queryContacts\n     */\n    function queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContacts(context: Context, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContacts#queryContacts\n     */\n    function queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContacts(context: Context, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContacts#queryContacts\n     */\n    function queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContacts(context: Context, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Array<Contact>> } Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContacts#queryContacts\n     */\n    function queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;\n    /**\n     * Queries contacts with query conditions.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Array<Contact>> } Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContacts(context: Context, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;\n    /**\n     * Queries contacts by a specified email address.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } email - Indicates the email address.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByEmail#queryContactsByEmail\n     */\n    function queryContactsByEmail(email: string, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } email - Indicates the email address.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByEmail(context: Context, email: string, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address and contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } email - Indicates the email address.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByEmail#queryContactsByEmail\n     */\n    function queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address and contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } email - Indicates the email address.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByEmail(context: Context, email: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address and contact attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } email - Indicates the email address.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByEmail#queryContactsByEmail\n     */\n    function queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address and contact attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } email - Indicates the email address.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByEmail(context: Context, email: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address, contact holder, and contact attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } email - Indicates the email address.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByEmail#queryContactsByEmail\n     */\n    function queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address, contact holder, and contact attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } email - Indicates the email address.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns a {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByEmail(context: Context, email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a specified email address, contact holder, and contact attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } email - Indicates the email address.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Array<Contact>> } Returns a {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByEmail#queryContactsByEmail\n     */\n    function queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;\n    /**\n     * Queries contacts by a specified email address, contact holder, and contact attributes.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } email - Indicates the email address.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attributes.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Array<Contact>> } Returns a {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByEmail(context: Context, email: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;\n    /**\n     * Queries contacts by a phone number.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber\n     */\n    function queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByPhoneNumber(context: Context, phoneNumber: string, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number and contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber\n     */\n    function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number and contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number and contact attribute.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes will be used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber\n     */\n    function queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number and contact attribute.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes will be used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByPhoneNumber(context: Context, phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number, contact holder and contact attribute.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes will be used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber\n     */\n    function queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number, contact holder and contact attribute.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes will be used for matching.\n     * @param { AsyncCallback<Array<Contact>> } callback - Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback<Array<Contact>>): void;\n    /**\n     * Queries contacts by a phone number, contact holder and contact attribute.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes will be used for matching.\n     * @returns { Promise<Array<Contact>> } Returns the {@code Contact} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryContactsByPhoneNumber#queryContactsByPhoneNumber\n     */\n    function queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;\n    /**\n     * Queries contacts by a phone number, contact holder and contact attribute.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { string } phoneNumber - Indicates the phone number.\n     * Only full match is supported, and wildcards are not supported.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes will be used for matching.\n     * @returns { Promise<Array<Contact>> } Returns the {@code Contact} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise<Array<Contact>>;\n    /**\n     * Queries contact groups.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { AsyncCallback<Array<Group>> } callback - Returns the contact group list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryGroups#queryGroups\n     */\n    function queryGroups(callback: AsyncCallback<Array<Group>>): void;\n    /**\n     * Queries contact groups.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { AsyncCallback<Array<Group>> } callback - Returns the contact group list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryGroups(context: Context, callback: AsyncCallback<Array<Group>>): void;\n    /**\n     * Queries contact groups by contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Group>> } callback - Returns the contact group list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryGroups#queryGroups\n     */\n    function queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>): void;\n    /**\n     * Queries contact groups by contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<Array<Group>> } callback - Returns the contact group list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryGroups(context: Context, holder: Holder, callback: AsyncCallback<Array<Group>>): void;\n    /**\n     * Queries contact groups by contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @returns { Promise<Array<Group>> } Returns the contact group list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryGroups#queryGroups\n     */\n    function queryGroups(holder?: Holder): Promise<Array<Group>>;\n    /**\n     * Queries contact groups by contact holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @returns { Promise<Array<Group>> } Returns the contact group list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryGroups(context: Context, holder?: Holder): Promise<Array<Group>>;\n    /**\n     * Queries contact holders.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { AsyncCallback<Array<Holder>> } callback - Returns the {@code Holder} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryHolders#queryHolders\n     */\n    function queryHolders(callback: AsyncCallback<Array<Holder>>): void;\n    /**\n     * Queries contact holders.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { AsyncCallback<Array<Holder>> } callback - Returns the {@code Holder} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryHolders(context: Context, callback: AsyncCallback<Array<Holder>>): void;\n    /**\n     * Queries contact holders.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @returns { Promise<Array<Holder>> } Returns the {@code Holder} list object.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryHolders#queryHolders\n     */\n    function queryHolders(): Promise<Array<Holder>>;\n    /**\n     * Queries contact holders.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @returns { Promise<Array<Holder>> } Returns the {@code Holder} list object.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryHolders(context: Context): Promise<Array<Holder>>;\n    /**\n     * Obtains the query key of a contact based on a specified ID.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { number } id - Indicates the contact ID.\n     * @param { AsyncCallback<string> } callback - Returns the query key of the contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryKey#queryKey\n     */\n    function queryKey(id: number, callback: AsyncCallback<string>): void;\n    /**\n     * Obtains the query key of a contact based on a specified ID.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { number } id - Indicates the contact ID.\n     * @param { AsyncCallback<string> } callback - Returns the query key of the contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Parameter verification failed.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryKey(context: Context, id: number, callback: AsyncCallback<string>): void;\n    /**\n     * Obtains the query key of a contact based on a specified ID and holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { number } id - Indicates the contact ID.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<string> } callback - Returns the query key of the contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryKey#queryKey\n     */\n    function queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): void;\n    /**\n     * Obtains the query key of a contact based on a specified ID and holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { number } id - Indicates the contact ID.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @param { AsyncCallback<string> } callback - Returns the query key of the contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Parameter verification failed.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryKey(context: Context, id: number, holder: Holder, callback: AsyncCallback<string>): void;\n    /**\n     * Obtains the query key of a contact based on a specified ID and holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { number } id - Indicates the contact ID.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @returns { Promise<string> } Returns the query key of the contact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryKey#queryKey\n     */\n    function queryKey(id: number, holder?: Holder): Promise<string>;\n    /**\n     * Obtains the query key of a contact based on a specified ID and holder.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { number } id - Indicates the contact ID.\n     * @param { Holder } holder - Indicates the contact holder.\n     * If this parameter is null, the default holder is used for matching.\n     * @returns { Promise<string> } Returns the query key of the contact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Parameter verification failed.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryKey(context: Context, id: number, holder?: Holder): Promise<string>;\n    /**\n     * Queries information about \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { AsyncCallback<Contact> } callback - Returns information about \"my card\".\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryMyCard#queryMyCard\n     */\n    function queryMyCard(callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries information about \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { AsyncCallback<Contact> } callback - Returns information about \"my card\".\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryMyCard(context: Context, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries information about \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns information about \"my card\".\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryMyCard#queryMyCard\n     */\n    function queryMyCard(attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries information about \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<Contact> } callback - Returns information about \"my card\".\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryMyCard(context: Context, attrs: ContactAttributes, callback: AsyncCallback<Contact>): void;\n    /**\n     * Queries information about \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Contact> } Returns information about \"my card\".\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.queryMyCard#queryMyCard\n     */\n    function queryMyCard(attrs?: ContactAttributes): Promise<Contact>;\n    /**\n     * Queries information about \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<Contact> } Returns information about \"my card\".\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function queryMyCard(context: Context, attrs?: ContactAttributes): Promise<Contact>;\n    /**\n     * Updates specified attributes of a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Contact } contact - Indicates the contact whose information is to update.\n     * @param { AsyncCallback<void> } callback - The callback of updateContact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.updateContact#updateContact\n     */\n    function updateContact(contact: Contact, callback: AsyncCallback<void>): void;\n    /**\n     * Updates specified attributes of a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact whose information is to update.\n     * @param { AsyncCallback<void> } callback - The callback of updateContact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function updateContact(context: Context, contact: Contact, callback: AsyncCallback<void>): void;\n    /**\n     * Updates specified attributes of a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Contact } contact - Indicates the contact whose information is to update.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<void> } callback - The callback of updateContact.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.updateContact#updateContact\n     */\n    function updateContact(contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void;\n    /**\n     * Updates specified attributes of a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact whose information is to update.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @param { AsyncCallback<void> } callback - The callback of updateContact.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function updateContact(context: Context, contact: Contact, attrs: ContactAttributes, callback: AsyncCallback<void>): void;\n    /**\n     * Updates specified attributes of a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Contact } contact - Indicates the contact whose information is to update.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.updateContact#updateContact\n     */\n    function updateContact(contact: Contact, attrs?: ContactAttributes): Promise<void>;\n    /**\n     * Updates specified attributes of a contact.\n     *\n     * @permission ohos.permission.WRITE_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact whose information is to update.\n     * @param { ContactAttributes } attrs - Indicates the contact attribute.\n     * If this parameter is null, all attributes are used for matching.\n     * @returns { Promise<void> } The promise returned by the function.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function updateContact(context: Context, contact: Contact, attrs?: ContactAttributes): Promise<void>;\n    /**\n     * Checks whether the contact ID is in the local phone book.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { number } id - Indicates the contact ID.\n     * @param { AsyncCallback<boolean> } callback - The callback of isLocalContact.\n     * Returns {@code true} if the contact ID is in the local phone book; returns {@code false} otherwise.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.isLocalContact#isLocalContact\n     */\n    function isLocalContact(id: number, callback: AsyncCallback<boolean>): void;\n    /**\n     * Checks whether the contact ID is in the local phone book.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { number } id - Indicates the contact ID.\n     * @param { AsyncCallback<boolean> } callback - The callback of isLocalContact.\n     * Returns {@code true} if the contact ID is in the local phone book; returns {@code false} otherwise.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Parameter verification failed.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function isLocalContact(context: Context, id: number, callback: AsyncCallback<boolean>): void;\n    /**\n     * Checks whether the contact ID is in the local phone book.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { number } id - Indicates the contact ID.\n     * @returns { Promise<boolean> } Returns {@code true} if the contact ID is in the local phone book,\n     * returns {@code false} otherwise.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.isLocalContact#isLocalContact\n     */\n    function isLocalContact(id: number): Promise<boolean>;\n    /**\n     * Checks whether the contact ID is in the local phone book.\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { number } id - Indicates the contact ID.\n     * @returns { Promise<boolean> } Returns {@code true} if the contact ID is in the local phone book,\n     * returns {@code false} otherwise.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Parameter verification failed.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function isLocalContact(context: Context, id: number): Promise<boolean>;\n    /**\n     * Checks whether the contact ID is of \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { number } id - Indicates the contact ID.\n     * @param { AsyncCallback<boolean> } callback - The callback of isMyCard.\n     * Returns {@code true} if the contact ID is of \"my card\"; returns {@code false} otherwise.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.deleteContact#deleteContact\n     */\n    function isMyCard(id: number, callback: AsyncCallback<boolean>): void;\n    /**\n     * Checks whether the contact ID is of \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { number } id - Indicates the contact ID.\n     * @param { AsyncCallback<boolean> } callback - The callback of isMyCard.\n     * Returns {@code true} if the contact ID is of \"my card\"; returns {@code false} otherwise.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Parameter verification failed.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function isMyCard(context: Context, id: number, callback: AsyncCallback<boolean>): void;\n    /**\n     * Checks whether the contact ID is of \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { number } id - Indicates the contact ID.\n     * @returns { Promise<boolean> } Returns true if the contact ID is of \"my card\", returns false otherwise.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     * @deprecated since 10\n     * @useinstead contact.isMyCard#isMyCard\n     */\n    function isMyCard(id: number): Promise<boolean>;\n    /**\n     * Checks whether the contact ID is of \"my card\".\n     *\n     * @permission ohos.permission.READ_CONTACTS\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { number } id - Indicates the contact ID.\n     * @returns { Promise<boolean> } Returns true if the contact ID is of \"my card\", returns false otherwise.\n     * @throws { BusinessError } 201 - Permission denied.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: 1.Mandatory parameters are left unspecified. 2.Parameter verification failed.\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 10\n     */\n    function isMyCard(context: Context, id: number): Promise<boolean>;\n    /**\n     * Creates a contact through UI interaction.\n     *\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact information.\n     * @returns { Promise<number> } Returns the contact ID (which can be obtained by {@link Contact#getId()}) if the\n     * creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the creation fails.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @throws { BusinessError } 801 - The specified SystemCapability name was not found.\n     * @throws { BusinessError } 16700001 - General error.\n     * @throws { BusinessError } 16700102 - Failed to set value to contacts data.\n     * @throws { BusinessError } 16700103 - User cancel.\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 15\n     */\n    function addContactViaUI(context: Context, contact: Contact): Promise<number>;\n    /**\n     * Saves the information to an existing contact through UI interaction.\n     *\n     * @param { Context } context - Indicates the context of application or capability.\n     * @param { Contact } contact - Indicates the contact information.\n     * @returns { Promise<number> } Returns the contact ID (which can be obtained by {@link Contact#getId()}) if the\n     * creation is successful. returns {@link Contact#INVALID_CONTACT_ID} if the creation fails.\n     * @throws { BusinessError } 401 - Parameter error. Possible causes: Mandatory parameters are left unspecified.\n     * @throws { BusinessError } 801 - The specified SystemCapability name was not found.\n     * @throws { BusinessError } 16700001 - General error.\n     * @throws { BusinessError } 16700101 - Failed to get value to contacts data.\n     * @throws { BusinessError } 16700102 - Failed to set value to contacts data.\n     * @throws { BusinessError } 16700103 - User cancel.\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 15\n     */\n    function saveToExistingContactViaUI(context: Context, contact: Contact): Promise<number>;\n    /**\n     * ContactSelectionOptions Object\n     *\n     * @interface ContactSelectionOptions\n     * @syscap SystemCapability.Applications.Contacts\n     * @since 10\n     */\n    /**\n     * ContactSelectionOptions Object\n     *\n     * @interface ContactSelectionOptions\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 11\n     */\n    interface ContactSelectionOptions {\n        /**\n         * Indicates the Single-select or multiple-select.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Applications.Contacts\n         * @since 10\n         */\n        /**\n         * Indicates the Single-select or multiple-select.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 11\n         */\n        isMultiSelect?: boolean;\n        /**\n         * Maximum number of contacts. The value ranges from 1 to 10000. The default value is 10000.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        maxSelectable?: number;\n        /**\n         * Contact display dimension.\n         *\n         * @type { ?boolean }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        isDisplayedByName?: boolean;\n        /**\n         * Contact filtering parameters.\n         *\n         * @type { ?ContactSelectionFilter }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        filter?: ContactSelectionFilter;\n    }\n    /**\n     * ContactSelectionFilter Object\n     *\n     * @interface ContactSelectionFilter\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 15\n     */\n    interface ContactSelectionFilter {\n        /**\n         * Filter clause.\n         *\n         * @type { FilterClause }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        filterClause: FilterClause;\n        /**\n         * Filter type.\n         *\n         * @type { FilterType }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        filterType: FilterType;\n    }\n    /**\n     * The type for functions of filter conditions\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 15\n     */\n    enum FilterType {\n        /**\n         * Only the contacts that meet the filter condition will be displayed.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        SHOW_FILTER,\n        /**\n         * Contacts that meet the filter condition will be selected by default.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        DEFAULT_SELECT,\n        /**\n         * Only the contacts that meet the filter condition will be displayed and are selected by default.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        SHOW_FILTER_AND_DEFAULT_SELECT\n    }\n    /**\n     * FilterClause Object\n     * The relation of clause in arrays is OR, and the maximum length of the array is 3.\n     *\n     * @interface FilterClause\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 15\n     */\n    interface FilterClause {\n        /**\n         * Contact ID.\n         *\n         * @type { ?Array<FilterOptions> }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        id?: Array<FilterOptions>;\n        /**\n         * Contact name.\n         *\n         * @type { ?Array<FilterOptions> }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        name?: Array<FilterOptions>;\n        /**\n         * Contact data filter item.\n         *\n         * @type { ?DataFilter }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        dataItem?: DataFilter;\n        /**\n         * Focus mode.\n         *\n         * @type { ?Array<FilterOptions> }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        focusModeList?: Array<FilterOptions>;\n    }\n    /**\n     * FilterOptions Object\n     *\n     * @interface FilterOptions\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 15\n     */\n    interface FilterOptions {\n        /**\n         * Filter condition.\n         *\n         * @type { FilterCondition }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        filterCondition: FilterCondition;\n        /**\n         * Filter value.\n         *\n         * @type { ?string | ValueType[] }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        value?: string | ValueType[];\n    }\n    /**\n     * The type of filter condition\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 15\n     */\n    enum FilterCondition {\n        /**\n         * Field is not null.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        IS_NOT_NULL,\n        /**\n         * Field equal to value, value type is string.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        EQUAL_TO,\n        /**\n         * Field not equal to value, value type is string.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        NOT_EQUAL_TO,\n        /**\n         * Field in value, value type is ValueType[].\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        IN,\n        /**\n         * Field not in value, value type is ValueType[].\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        NOT_IN,\n        /**\n         * Field contains value, value type is string.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        CONTAINS\n    }\n    /**\n     * DataFilter Object\n     * The relation of clause in arrays is OR, and the maximum length of the array is 3.\n     *\n     * @interface DataFilter\n     * @syscap SystemCapability.Applications.Contacts\n     * @atomicservice\n     * @since 15\n     */\n    interface DataFilter {\n        /**\n         * Data filter field.\n         *\n         * @type { DataField }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        field: DataField;\n        /**\n         * Data filter options.\n         *\n         * @type { Array<FilterOptions> }\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        options: Array<FilterOptions>;\n    }\n    /**\n     * Data field that support filtering\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 15\n     */\n    enum DataField {\n        /**\n         * Indicates email addresses of the contact.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        EMAIL,\n        /**\n         * Indicates a phone of the contact.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        PHONE,\n        /**\n         * Indicates organization information of the contact.\n         *\n         * @syscap SystemCapability.Applications.Contacts\n         * @atomicservice\n         * @since 15\n         */\n        ORGANIZATION\n    }\n    /**\n     * Provides methods for contact information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for contact information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Contact {\n        /**\n         * Indicates the contact invalid ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact invalid ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_CONTACT_ID: -1;\n        /**\n         * Indicates the contact ID.\n         *\n         * @type { ?number }\n         * @readonly\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact ID.\n         *\n         * @type { ?number }\n         * @readonly\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        readonly id?: number;\n        /**\n         * Indicates the query key that identifies the contact.\n         *\n         * @type { ?string }\n         * @readonly\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the query key that identifies the contact.\n         *\n         * @type { ?string }\n         * @readonly\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        readonly key?: string;\n        /**\n         * Indicates the contact attributes.\n         *\n         * @type { ?ContactAttributes }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact attributes.\n         *\n         * @type { ?ContactAttributes }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        contactAttributes?: ContactAttributes;\n        /**\n         * Indicates list of contact email addresses.\n         *\n         * @type { ?Email[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates list of contact email addresses.\n         *\n         * @type { ?Email[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        emails?: Email[];\n        /**\n         * Indicates an event (special date) of the contact.\n         *\n         * @type { ?Event[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an event (special date) of the contact.\n         *\n         * @type { ?Event[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        events?: Event[];\n        /**\n         * Indicates a group of the contact.\n         *\n         * @type { ?Group[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a group of the contact.\n         *\n         * @type { ?Group[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        groups?: Group[];\n        /**\n         * Indicates an IM address of the contact.\n         *\n         * @type { ?ImAddress[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an IM address of the contact.\n         *\n         * @type { ?ImAddress[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        imAddresses?: ImAddress[];\n        /**\n         * Indicates a phone number of the contact.\n         *\n         * @type { ?PhoneNumber[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a phone number of the contact.\n         *\n         * @type { ?PhoneNumber[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        phoneNumbers?: PhoneNumber[];\n        /**\n         * Indicates the contact portrait.\n         *\n         * @type { ?Portrait }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact portrait.\n         *\n         * @type { ?Portrait }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        portrait?: Portrait;\n        /**\n         * Indicates a postal address of the contact.\n         *\n         * @type { ?PostalAddress[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a postal address of the contact.\n         *\n         * @type { ?PostalAddress[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        postalAddresses?: PostalAddress[];\n        /**\n         * Indicates a relation of the contact.\n         *\n         * @type { ?Relation[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a relation of the contact.\n         *\n         * @type { ?Relation[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        relations?: Relation[];\n        /**\n         * Indicates a Session Initiation Protocol (SIP) address of the contact.\n         *\n         * @type { ?SipAddress[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a Session Initiation Protocol (SIP) address of the contact.\n         *\n         * @type { ?SipAddress[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        sipAddresses?: SipAddress[];\n        /**\n         * Indicates a website of the contact.\n         *\n         * @type { ?Website[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a website of the contact.\n         *\n         * @type { ?Website[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        websites?: Website[];\n        /**\n         * Indicates the contact name.\n         *\n         * @type { ?Name }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact name.\n         *\n         * @type { ?Name }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        name?: Name;\n        /**\n         * Indicates the contact nickname.\n         *\n         * @type { ?NickName }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact nickname.\n         *\n         * @type { ?NickName }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        nickName?: NickName;\n        /**\n         * Indicates the contact note.\n         *\n         * @type { ?Note }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact note.\n         *\n         * @type { ?Note }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        note?: Note;\n        /**\n         * Indicates organization information about the contact.\n         *\n         * @type { ?Organization }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates organization information about the contact.\n         *\n         * @type { ?Organization }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        organization?: Organization;\n    }\n    /**\n     * Provides methods for contact attributes information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for contact attributes information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class ContactAttributes {\n        /**\n         * Indicates the contact attributes.\n         *\n         * @type { Attribute[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact attributes.\n         *\n         * @type { Attribute[] }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        attributes: Attribute[];\n    }\n    /**\n     * Provides methods for attribute information\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for attribute information\n     *\n     * @enum { number }\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    enum Attribute {\n        /**\n         * Indicates the contact event.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact event.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_CONTACT_EVENT,\n        /**\n         * Indicates the email address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the email address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_EMAIL,\n        /**\n         * Indicates the contact group.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact group.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_GROUP_MEMBERSHIP,\n        /**\n         * Indicates the instant messaging (IM) address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the instant messaging (IM) address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_IM,\n        /**\n         * Indicates the name.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the name.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_NAME,\n        /**\n         * Indicates the nickname.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the nickname.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_NICKNAME,\n        /**\n         * Indicates the note.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the note.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_NOTE,\n        /**\n         * Indicates the organization.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the organization.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_ORGANIZATION,\n        /**\n         * Indicates the phone number.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the phone number.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_PHONE,\n        /**\n         * Indicates the portrait.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the portrait.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_PORTRAIT,\n        /**\n         * Indicates the postal address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the postal address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_POSTAL_ADDRESS,\n        /**\n         * Indicates the relation.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the relation.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_RELATION,\n        /**\n         * Indicates the Session Initiation Protocol (SIP) address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the Session Initiation Protocol (SIP) address.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_SIP_ADDRESS,\n        /**\n         * Indicates the website.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the website.\n         *\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        ATTR_WEBSITE\n    }\n    /**\n     * Provides methods for email information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for email information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Email {\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly CUSTOM_LABEL: 0;\n        /**\n         * Indicates a home email.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a home email.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly EMAIL_HOME: 1;\n        /**\n         * Indicates a work email.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a work email.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly EMAIL_WORK: 2;\n        /**\n         * Indicates an email of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an email of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly EMAIL_OTHER: 3;\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_LABEL_ID: -1;\n        /**\n         * Indicates the email address.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the email address.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        email: string;\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelName?: string;\n        /**\n         * Indicates the displayed email name.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the displayed email name.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        displayName?: string;\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelId?: number;\n    }\n    /**\n     * Provides methods for event information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for event information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Event {\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly CUSTOM_LABEL: 0;\n        /**\n         * Indicates an anniversary event.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an anniversary event.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly EVENT_ANNIVERSARY: 1;\n        /**\n         * Indicates an event of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an event of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly EVENT_OTHER: 2;\n        /**\n         * Indicates an birthday event.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an birthday event.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly EVENT_BIRTHDAY: 3;\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_LABEL_ID: -1;\n        /**\n         * Indicates the event date.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the event date.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        eventDate: string;\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelName?: string;\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelId?: number;\n    }\n    /**\n     * Provides methods for group information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for group information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Group {\n        /**\n         * Indicates the contact group ID.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact group ID.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        groupId?: number;\n        /**\n         * Indicates the contact group title.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the contact group title.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        title: string;\n    }\n    /**\n     * Provides methods for holder information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    class Holder {\n        /**\n         * Indicates the bundle name of a contact holder.\n         *\n         * @type { string }\n         * @readonly\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        readonly bundleName: string;\n        /**\n         * Indicates the displayed name of a contact holder.\n         *\n         * @type { ?string }\n         * @readonly\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        readonly displayName?: string;\n        /**\n         * Indicates the holder ID.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        holderId?: number;\n    }\n    /**\n     * Provides methods for ImAddress information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for ImAddress information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class ImAddress {\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly CUSTOM_LABEL: -1;\n        /**\n         * Indicates an AIM instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an AIM instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly IM_AIM: 0;\n        /**\n         * Indicates a Windows Live instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a Windows Live instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly IM_MSN: 1;\n        /**\n         * Indicates a Yahoo instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a Yahoo instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly IM_YAHOO: 2;\n        /**\n         * Indicates a Skype instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a Skype instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly IM_SKYPE: 3;\n        /**\n         * Indicates a QQ instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a QQ instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly IM_QQ: 4;\n        /**\n         * Indicates an ICQ instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an ICQ instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly IM_ICQ: 6;\n        /**\n         * Indicates a Jabber instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a Jabber instant message.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly IM_JABBER: 7;\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_LABEL_ID: -2;\n        /**\n         * Indicates the IM address.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the IM address.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        imAddress: string;\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelName?: string;\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelId?: number;\n    }\n    /**\n     * Provides methods for name information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for name information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Name {\n        /**\n         * Indicates the family name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the family name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        familyName?: string;\n        /**\n         * Indicates the phonetic family name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the phonetic family name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        familyNamePhonetic?: string;\n        /**\n         * Indicates the full name of the contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the full name of the contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        fullName: string;\n        /**\n         * Indicates the given name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the given name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        givenName?: string;\n        /**\n         * Indicates the phonetic given name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the phonetic given name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        givenNamePhonetic?: string;\n        /**\n         * Indicates the middle name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the middle name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        middleName?: string;\n        /**\n         * Indicates the phonetic middle name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the phonetic middle name of the contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        middleNamePhonetic?: string;\n        /**\n         * Indicates the prefix of the contact name.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the prefix of the contact name.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        namePrefix?: string;\n        /**\n         * Indicates the suffix of this contact name.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the suffix of this contact name.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        nameSuffix?: string;\n    }\n    /**\n     * Provides methods for nick name information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for nick name information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class NickName {\n        /**\n         * Indicates the nickname of the contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the nickname of the contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        nickName: string;\n    }\n    /**\n     * Provides methods for note information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for note information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Note {\n        /**\n         * Indicates the note content.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the note content.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        noteContent: string;\n    }\n    /**\n     * Provides methods for organization information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for organization information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Organization {\n        /**\n         * Indicates the name of the organization to which the contact belongs.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the name of the organization to which the contact belongs.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        name: string;\n        /**\n         * Indicates the title of the organization.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the title of the organization.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        title?: string;\n    }\n    /**\n     * Provides methods for phone number information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for phone number information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class PhoneNumber {\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly CUSTOM_LABEL: 0;\n        /**\n         * Indicates a home number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a home number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_HOME: 1;\n        /**\n         * Indicates a mobile phone number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a mobile phone number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_MOBILE: 2;\n        /**\n         * Indicates a work number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a work number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_WORK: 3;\n        /**\n         * Indicates a work fax number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a work fax number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_FAX_WORK: 4;\n        /**\n         * Indicates a home fax number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a home fax number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_FAX_HOME: 5;\n        /**\n         * Indicates a pager number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a pager number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_PAGER: 6;\n        /**\n         * Indicates a number of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a number of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_OTHER: 7;\n        /**\n         * Indicates a callback number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a callback number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_CALLBACK: 8;\n        /**\n         * Indicates a car number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a car number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_CAR: 9;\n        /**\n         * Indicates a company director number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a company director number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_COMPANY_MAIN: 10;\n        /**\n         * Indicates an Integrated Services Digital Network (ISDN) number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an Integrated Services Digital Network (ISDN) number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_ISDN: 11;\n        /**\n         * Indicates a main number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a main number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_MAIN: 12;\n        /**\n         * Indicates a number of the OTHER_FAX type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a number of the OTHER_FAX type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_OTHER_FAX: 13;\n        /**\n         * Indicates a radio number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a radio number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_RADIO: 14;\n        /**\n         * Indicates a telex number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a telex number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_TELEX: 15;\n        /**\n         * Indicates a teletypewriter (TTY) or test-driven development (TDD) number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a teletypewriter (TTY) or test-driven development (TDD) number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_TTY_TDD: 16;\n        /**\n         * Indicates a work mobile phone number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a work mobile phone number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_WORK_MOBILE: 17;\n        /**\n         * Indicates a work pager number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a work pager number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_WORK_PAGER: 18;\n        /**\n         * Indicates an assistant number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an assistant number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_ASSISTANT: 19;\n        /**\n         * Indicates an MMS number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an MMS number.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly NUM_MMS: 20;\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_LABEL_ID: -1;\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelName?: string;\n        /**\n         * Indicates the phone number of the contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the phone number of the contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        phoneNumber: string;\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelId?: number;\n    }\n    /**\n     * Provides methods for portrait information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for portrait information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Portrait {\n        /**\n         * Indicates the uri of the contact portrait.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the uri of the contact portrait.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        uri: string;\n    }\n    /**\n     * Provides methods for postal address information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for postal address information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class PostalAddress {\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly CUSTOM_LABEL: 0;\n        /**\n         * Indicates a home address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a home address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly ADDR_HOME: 1;\n        /**\n         * Indicates a work address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a work address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly ADDR_WORK: 2;\n        /**\n         * Indicates an address of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an address of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly ADDR_OTHER: 3;\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_LABEL_ID: -1;\n        /**\n         * Indicates the city where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the city where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        city?: string;\n        /**\n         * Indicates the country/region where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the country/region where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        country?: string;\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelName?: string;\n        /**\n         * Indicates the neighborhood where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the neighborhood where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        neighborhood?: string;\n        /**\n         * Indicates the post box of this contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the post box of this contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        pobox?: string;\n        /**\n         * Indicates the postal address of this contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the postal address of this contact.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        postalAddress: string;\n        /**\n         * Indicates the postal code of this contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the postal code of this contact.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        postcode?: string;\n        /**\n         * Indicates the area where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the area where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        region?: string;\n        /**\n         * Indicates the street where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the street where this contact is located.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        street?: string;\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelId?: number;\n    }\n    /**\n     * Provides methods for relation information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for relation information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Relation {\n        /**\n         * Indicates custom relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates custom relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly CUSTOM_LABEL: 0;\n        /**\n         * Indicates assistant relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates assistant relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_ASSISTANT: 1;\n        /**\n         * Indicates brother relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates brother relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_BROTHER: 2;\n        /**\n         * Indicates child relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates child relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_CHILD: 3;\n        /**\n         * Indicates domestic partner relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates domestic partner relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_DOMESTIC_PARTNER: 4;\n        /**\n         * Indicates father relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates father relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_FATHER: 5;\n        /**\n         * Indicates friend relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates friend relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_FRIEND: 6;\n        /**\n         * Indicates manager relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates manager relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_MANAGER: 7;\n        /**\n         * Indicates mother relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates mother relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_MOTHER: 8;\n        /**\n         * Indicates parent relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates parent relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_PARENT: 9;\n        /**\n         * Indicates partner relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates partner relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_PARTNER: 10;\n        /**\n         * Indicates referrer relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates referrer relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_REFERRED_BY: 11;\n        /**\n         * Indicates relative relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates relative relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_RELATIVE: 12;\n        /**\n         * Indicates sister relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates sister relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_SISTER: 13;\n        /**\n         * Indicates spouse relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates spouse relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly RELATION_SPOUSE: 14;\n        /**\n         * Indicates invalid relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates invalid relationship type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_LABEL_ID: -1;\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelName?: string;\n        /**\n         * Indicates the relation name.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the relation name.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        relationName: string;\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelId?: number;\n    }\n    /**\n     * Provides methods for sip address information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for sip address information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class SipAddress {\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a custom label.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly CUSTOM_LABEL: 0;\n        /**\n         * Indicates a home SIP address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a home SIP address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly SIP_HOME: 1;\n        /**\n         * Indicates a work SIP address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates a work SIP address.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly SIP_WORK: 2;\n        /**\n         * Indicates an SIP address of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an SIP address of the OTHER type.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly SIP_OTHER: 3;\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates an invalid label ID.\n         *\n         * @type { number }\n         * @readonly\n         * @static\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        static readonly INVALID_LABEL_ID: -1;\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label name of an attribute.\n         *\n         * @type { ?string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelName?: string;\n        /**\n         * Indicates the SIP address.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the SIP address.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        sipAddress: string;\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the label id.\n         *\n         * @type { ?number }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        labelId?: number;\n    }\n    /**\n     * Provides methods for website information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @since 7\n     */\n    /**\n     * Provides methods for website information\n     *\n     * @syscap SystemCapability.Applications.ContactsData\n     * @atomicservice\n     * @since 11\n     */\n    class Website {\n        /**\n         * Indicates the website.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @since 7\n         */\n        /**\n         * Indicates the website.\n         *\n         * @type { string }\n         * @syscap SystemCapability.Applications.ContactsData\n         * @atomicservice\n         * @since 11\n         */\n        website: string;\n    }\n}\nexport default contact;\n",
}
export default FILE;